package com.javacafe;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class MainMenu extends Activity {

	Intent intent;
	TextView text;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);

		text = (TextView) findViewById(R.id.text);
		intent = getIntent();

		String intentText = intent.getStringExtra("id");

		text.setText(intentText);
	}

}
